// 基于template/src/views/{{appModules}}/{{pages@DEEDITVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IEditViewModel } from '@/core/interface/view/model';
function getModel(): IEditViewModel {
	return {
		caption: '系统角色成员',
		title: '系统角色成员编辑视图',
		capPSLanguageRes: 'DE.LNAME.SYS_ROLE_MEMBER',
		titlePSLanguageRes: 'PAGE.TITLE.SYS_ROLE_MEMBER.EDITVIEW',
		showDataInfoBar: true,
		codeName: 'sys_role_memberEditView',
		uiEngineModel: [
			{
				name: 'toolbar_tbitem3_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem3',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'Save',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem4_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem4',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'SaveAndNew',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem5_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem5',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'SaveAndExit',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem7_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem7',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'RemoveAndExit',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem9_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem9',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'SaveAndStart',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem10_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem10',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'ViewWFStep',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem12_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem12',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'New',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem14_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem14',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'Copy',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem15_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem15',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'Print',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem23_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem23',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'FirstRecord',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem24_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem24',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'PrevRecord',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem25_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem25',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'NextRecord',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem26_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem26',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'LastRecord',
				entityCodeName: '',
			},
			{
				name: 'toolbar_tbitem22_click',
				triggerType: 'CTRLEVENT',
				logicType: 'APPVIEWUIACTION',
				eventNames: 'CLICK',
				scriptCode: ``,
				logicName: ``,
				logicTag: '',
				eventArg: 'tbitem22',
				eventArg2: '',
				timer: 0,
				psViewCtrlName: 'toolbar',
				uIActionTag: 'Help',
				entityCodeName: '',
			},
		],
		ctrls: [
			{
				name: 'toolbar',
				codeName: 'EditViewtoolbar',
				controlType: 'TOOLBAR',
			},
			{
				name: 'form',
				codeName: 'Main',
				controlType: 'FORM',
			},
		],
		ctrlParams: {
			Sys_role_membertoolbar: {},
			Sys_role_memberform: {},
		},
		cssName: '',
		name: 'sys_role_memberEditView',
		viewType: 'DEEDITVIEW',
		viewStyle: 'DEFAULT',
		showCaption: true,
		isLoadDefault: true,
		entityCodeName: 'Sys_role_member',
		keyPSAppDEField: 'Id',
		majorPSAppDEField: 'Id',
		funcViewMode: 'EDITVIEW',
		expandSearchForm: false,
		toolbarItems: [
			{
				actionLevel: '100',
				caption: '保存',
				captionLanResTag: 'TBB.TEXT.*.SAVE',
				name: 'tbitem3',
				showCaption: true,
				tooltip: '保存',
				tooltipLanResTag: 'TBB.TOOLTIP.*.SAVE',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-save',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'Save',
					uIActionMode: 'SYS',
					actionTarget: '',
					uIActionTag: 'Save',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem3_click',
					actionTag: 'Save',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_SAVEACTION',
				},
			},
			{
				actionLevel: '100',
				caption: '保存并新建',
				captionLanResTag: 'TBB.TEXT.EDITVIEW.SAVEANDNEW',
				name: 'tbitem4',
				showCaption: true,
				tooltip: '保存并新建',
				tooltipLanResTag: 'TBB.TOOLTIP.EDITVIEW.SAVEANDNEW',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'sx-tb-saveandnew',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'SaveAndNew',
					uIActionMode: 'SYS',
					actionTarget: '',
					uIActionTag: 'SaveAndNew',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem4_click',
					actionTag: 'SaveAndNew',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_SAVEANDNEWACTION',
				},
			},
			{
				actionLevel: '100',
				caption: '保存并关闭',
				captionLanResTag: 'TBB.TEXT.EDITVIEW.SAVEANDCLOSE',
				name: 'tbitem5',
				showCaption: true,
				tooltip: '保存并关闭',
				tooltipLanResTag: 'TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'sx-tb-saveandclose',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'SaveAndExit',
					uIActionMode: 'SYS',
					actionTarget: '',
					uIActionTag: 'SaveAndExit',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem5_click',
					actionTag: 'SaveAndExit',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_SAVEANDEXITACTION',
				},
			},
			{
				name: 'tbitem6',
				itemType: 'SEPERATOR',
			},
			{
				actionLevel: '100',
				caption: '删除并关闭',
				captionLanResTag: 'TBB.TEXT.EDITVIEW.REMOVEANDCLOSE',
				name: 'tbitem7',
				showCaption: true,
				tooltip: '删除并关闭',
				tooltipLanResTag: 'TBB.TOOLTIP.EDITVIEW.REMOVEANDCLOSE',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-remove',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'RemoveAndExit',
					uIActionMode: 'SYS',
					actionTarget: 'SINGLEKEY',
					uIActionTag: 'RemoveAndExit',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem7_click',
					actionTag: 'RemoveAndExit',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_REMOVEANDEXITACTION',
				},
			},
			{
				name: 'tbitem8',
				itemType: 'SEPERATOR',
			},
			{
				actionLevel: '100',
				caption: '新建',
				captionLanResTag: 'TBB.TEXT.*.NEW',
				name: 'tbitem12',
				showCaption: true,
				tooltip: '新建',
				tooltipLanResTag: 'TBB.TOOLTIP.*.NEW',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-file-text-o',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'New',
					uIActionMode: 'SYS',
					actionTarget: '',
					uIActionTag: 'New',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem12_click',
					actionTag: 'New',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_NEWACTION',
				},
			},
			{
				name: 'tbitem13',
				itemType: 'SEPERATOR',
			},
			{
				actionLevel: '100',
				caption: '拷贝',
				captionLanResTag: 'TBB.TEXT.*.COPY',
				name: 'tbitem14',
				showCaption: true,
				tooltip: '拷贝',
				tooltipLanResTag: 'TBB.TOOLTIP.*.COPY',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-copy',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'Copy',
					uIActionMode: 'SYS',
					actionTarget: 'SINGLEKEY',
					uIActionTag: 'Copy',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem14_click',
					actionTag: 'Copy',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_COPYACTION',
				},
			},
			{
				name: 'tbitem16',
				itemType: 'SEPERATOR',
			},
			{
				actionLevel: '100',
				caption: '第一个记录',
				captionLanResTag: '',
				name: 'tbitem23',
				showCaption: false,
				tooltip: '第一个记录',
				tooltipLanResTag: '',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-fast-backward',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'FirstRecord',
					uIActionMode: 'SYS',
					actionTarget: 'SINGLEKEY',
					uIActionTag: 'FirstRecord',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem23_click',
					actionTag: 'FirstRecord',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_FIRSTRECORDACTION',
				},
			},
			{
				actionLevel: '100',
				caption: '上一个记录',
				captionLanResTag: '',
				name: 'tbitem24',
				showCaption: false,
				tooltip: '上一个记录',
				tooltipLanResTag: '',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-step-backward',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'PrevRecord',
					uIActionMode: 'SYS',
					actionTarget: 'SINGLEKEY',
					uIActionTag: 'PrevRecord',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem24_click',
					actionTag: 'PrevRecord',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_PREVRECORDACTION',
				},
			},
			{
				actionLevel: '100',
				caption: '下一个记录',
				captionLanResTag: '',
				name: 'tbitem25',
				showCaption: false,
				tooltip: '下一个记录',
				tooltipLanResTag: '',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-step-forward',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'NextRecord',
					uIActionMode: 'SYS',
					actionTarget: 'SINGLEKEY',
					uIActionTag: 'NextRecord',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem25_click',
					actionTag: 'NextRecord',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_NEXTRECORDACTION',
				},
			},
			{
				actionLevel: '100',
				caption: '最后一个记录',
				captionLanResTag: '',
				name: 'tbitem26',
				showCaption: false,
				tooltip: '最后一个记录',
				tooltipLanResTag: '',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-fast-forward',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'LastRecord',
					uIActionMode: 'SYS',
					actionTarget: 'SINGLEKEY',
					uIActionTag: 'LastRecord',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem26_click',
					actionTag: 'LastRecord',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_LASTRECORDACTION',
				},
			},
			{
				name: 'tbitem21',
				itemType: 'SEPERATOR',
			},
			{
				actionLevel: '100',
				caption: '帮助',
				captionLanResTag: 'TBB.TEXT.*.HELP',
				name: 'tbitem22',
				showCaption: true,
				tooltip: '帮助',
				tooltipLanResTag: 'TBB.TOOLTIP.*.HELP',
				itemType: 'DEUIACTION',
				showIcon: true,
				disabled: false,
				cssName: '',
				imagePath: '',
				iconCls: 'fa fa-question',
				imagePathX: '',
				dataAccessAction: '',
				noPrivDisplayMode: 2,
				uiAction: {
					codeName: 'Help',
					uIActionMode: 'SYS',
					actionTarget: '',
					uIActionTag: 'Help',
					uIActionType: 'DEUIACTION',
				},
				logic: {
					name: 'toolbar_tbitem22_click',
					actionTag: 'Help',
					xDataCtrlName: 'form',
					predefinedType: 'EDITVIEW_HELPACTION',
				},
			},
		],
		xDataCtrlName: 'form',
		quickSearchPlaceholder: ['标识', '成员名称', '成员DN'].join(','),
		useDefaultLayout: true,
	};
}
export const model = getModel();
